TARGETS:=client server
all:$(TARGETS)

client:client.cc
	g++ -o $@ $^ -std=c++17 -lpthread

server:server.cc
	g++ -o $@ $^ -std=c++17 -lpthread

.PHONY:clean
clean:
	rm $(TARGETS) -fv